package com.zt.event.enums;

import com.zt.event.feishu.MessageTemplateEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author system
 * 应用服务状态
 */
@Getter
@AllArgsConstructor
public enum ApplicationStatusEnums {

    CONTEXT_INITIALIZED(1, "应用上下文初始化", MessageTemplateEnum.TURQUOISE, "(-‿‿-)"),

    ENVIRONMENT_PREPARED(2, "应用环境环境准备", MessageTemplateEnum.TURQUOISE,"(¬‿¬)"),

    SERVER_FAILED(3, "应用启动失败", MessageTemplateEnum.RED,"X﹏X"),

    SERVER_PREPARED(4, "应用准备", MessageTemplateEnum.TURQUOISE,"≧◉◡◉≦"),

    SERVER_STARTING(5, "应用准备中", MessageTemplateEnum.TURQUOISE,"(✿◠‿◠)"),

    SERVER_STARTED(6, "应用准备完成", MessageTemplateEnum.BLUE,"(‐^▽^‐)"),

    SERVER_READY(7, "应用已就绪", MessageTemplateEnum.GREEN,"\\( ^▽^ )/"),

    SERVER_STOP(8, "应用已停止", MessageTemplateEnum.GREY,"(。_。)"),

    ;
    private final Integer key;
    private final String value;
    private final MessageTemplateEnum messageTemplateEnum;
    private final Object e;
}
